import http from '../utils/httpUtils'

export const register = (params) => http.post(`/register`, params); // 用户注册

export const updateUserAPI = (params) => http.put(`/user`, params);


export const getUserInfoAPI = (username) => http.get(`/user/info?username=${username}`);